<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
      
        // const str=new String("唐玮帅哥");
        // console.log(str[0]);
        // console.log(str[1]);
        // console.log(str[2]);
        // console.log(str[3]);
       

        // const array=["唐玮帅哥","sss"];
        // console.log(array[0][0]);//字符串可以取到每一个

        //多维数组
        const array=[[520],["唐玮",["sb"]]];
        //取sb
        console.log(array[1][1]);
        
       
       
    </script>
</body>
</html>